package com.weiyuwqj.api.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Table(name = "bus_account_recharge")
public class BusAccountRecharge implements Serializable {
    /**
     * 主键
     */
    @Id
    private Integer id;

    /**
     * 用户id
     */
    @Column(name = "user_id")
    private Integer userId;

    /**
     * 流水号
     */
    @Column(name = "order_no")
    private String orderNo;

    /**
     * 状态	0-失败 1-成功 2-审核中
     */
    private Integer status;

    /**
     * 充值金额	
     */
    @Column(name = "recharge_amount")
    private BigDecimal rechargeAmount;

    /**
     * 实际到账金额	
     */
    @Column(name = "actual_amount")
    private BigDecimal actualAmount;

    /**
     * 充值费用	
     */
    @Column(name = "fee_amount")
    private BigDecimal feeAmount;

    /**
     * 充值费率
     */
    @Column(name = "fee_rate")
    private BigDecimal feeRate;

    private String resource;

    /**
     * 充值类型
     */
    private Integer type;

    /**
     * 添加时间	
     */
    private Date addtime;

    /**
     * 审核时间
     */
    @Column(name = "audit_time")
    private Date auditTime;

    /**
     * 添加ip
     */
    private String addip;

    /**
     * 备注	
     */
    private String remark;

    /**
     * 获取主键
     *
     * @return id - 主键
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置主键
     *
     * @param id 主键
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取用户id
     *
     * @return user_id - 用户id
     */
    public Integer getUserId() {
        return userId;
    }

    /**
     * 设置用户id
     *
     * @param userId 用户id
     */
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    /**
     * 获取流水号
     *
     * @return order_no - 流水号
     */
    public String getOrderNo() {
        return orderNo;
    }

    /**
     * 设置流水号
     *
     * @param orderNo 流水号
     */
    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    /**
     * 获取状态	0-失败 1-成功 2-审核中
     *
     * @return status - 状态	0-失败 1-成功 2-审核中
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置状态	0-失败 1-成功 2-审核中
     *
     * @param status 状态	0-失败 1-成功 2-审核中
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 获取充值金额	
     *
     * @return recharge_amount - 充值金额	
     */
    public BigDecimal getRechargeAmount() {
        return rechargeAmount;
    }

    /**
     * 设置充值金额	
     *
     * @param rechargeAmount 充值金额	
     */
    public void setRechargeAmount(BigDecimal rechargeAmount) {
        this.rechargeAmount = rechargeAmount;
    }

    /**
     * 获取实际到账金额	
     *
     * @return actual_amount - 实际到账金额	
     */
    public BigDecimal getActualAmount() {
        return actualAmount;
    }

    /**
     * 设置实际到账金额	
     *
     * @param actualAmount 实际到账金额	
     */
    public void setActualAmount(BigDecimal actualAmount) {
        this.actualAmount = actualAmount;
    }

    /**
     * 获取充值费用	
     *
     * @return fee_amount - 充值费用	
     */
    public BigDecimal getFeeAmount() {
        return feeAmount;
    }

    /**
     * 设置充值费用	
     *
     * @param feeAmount 充值费用	
     */
    public void setFeeAmount(BigDecimal feeAmount) {
        this.feeAmount = feeAmount;
    }

    /**
     * @return resource
     */
    public String getResource() {
        return resource;
    }

    /**
     * @param resource
     */
    public void setResource(String resource) {
        this.resource = resource;
    }

    /**
     * 获取充值类型
     *
     * @return type - 充值类型
     */
    public Integer getType() {
        return type;
    }

    /**
     * 设置充值类型
     *
     * @param type 充值类型
     */
    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * 获取添加时间	
     *
     * @return addtime - 添加时间	
     */
    public Date getAddtime() {
        return addtime;
    }

    /**
     * 设置添加时间	
     *
     * @param addtime 添加时间	
     */
    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }

    /**
     * 获取审核时间
     *
     * @return audit_time - 审核时间
     */
    public Date getAuditTime() {
        return auditTime;
    }

    /**
     * 设置审核时间
     *
     * @param auditTime 审核时间
     */
    public void setAuditTime(Date auditTime) {
        this.auditTime = auditTime;
    }

    /**
     * 获取添加ip
     *
     * @return addip - 添加ip
     */
    public String getAddip() {
        return addip;
    }

    /**
     * 设置添加ip
     *
     * @param addip 添加ip
     */
    public void setAddip(String addip) {
        this.addip = addip;
    }

    /**
     * 获取备注	
     *
     * @return remark - 备注	
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 设置备注	
     *
     * @param remark 备注	
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public BigDecimal getFeeRate() {
        return feeRate;
    }

    public void setFeeRate(BigDecimal feeRate) {
        this.feeRate = feeRate;
    }
}